package com.sina.interfaces.core.exception.server;

import com.sina.interfaces.core.exception.server.InterfacesDataAccessException;
import com.sina.interfaces.core.util.ResultCode;

/**
 * Created with IntelliJ IDEA.
 * Description:当查询的结果 不是唯一时抛出,通过是由于 代码错误导致
 * 段浩杰   2017-11-14-13:44
 */
public class NotUniqueException extends InterfacesDataAccessException {

    public NotUniqueException(ResultCode resultCode) {
        super(resultCode);
    }

    public NotUniqueException(ResultCode resultCode, String message) {
        super(resultCode, message);
    }

    public NotUniqueException(ResultCode resultCode, Throwable cause) {
        super(resultCode, cause);
    }

    public NotUniqueException(ResultCode resultCode, String message, Throwable cause) {
        super(resultCode, message, cause);
    }
}
